package cn.yotta.user.api.params.user;

import cn.yotta.common.api.model.ApiPageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wyaoyao
 * @date 2023/3/15 17:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("用户分页参数")
public class UserPageRequest extends ApiPageRequest {

    @ApiModelProperty(value = "用户ID",dataType = "Long")
    private Long id;

    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id",hidden = true,dataType = "Long")
    private Long tenantId;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名",dataType = "String")
    private String username;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称",dataType = "String")
    private String nickname;

    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名",dataType = "String")
    private String realName;


    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号",dataType = "String")
    private String mobile;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱",dataType = "String")
    private String email;

    /**
     * 是否启用
     */
    @ApiModelProperty(value = "是否启用",dataType = "Boolean")
    private Boolean enabled;

    /**
     * 是否冻结
     */
    @ApiModelProperty(value = "是否冻结",dataType = "Boolean")
    private Boolean locked;



}
